#include <kuai/typedef.h>
#include "kuaisim.h"

#ifndef _KUAISIM_INNER_COORD_H_
#define _KUAISIM_INNER_COORD_H_

#ifdef __cplusplus
extern "C" {
#endif


KUAISIM_API(Index) count_ct_size(Index nAtoms, Index nBonds, const Index bonds[]); 
KUAISIM_API(Index) setup_ct(Index nAtoms, const Index atoms[], Index nBonds, const Index bonds[], Index result[]); 

KUAISIM_API(Index) count_bond_atoms(const Index ct[]); 
KUAISIM_API(Index) count_angle_atoms(const Index ct[]); 
KUAISIM_API(Index) count_torsion_atoms(const Index ct[]); 
KUAISIM_API(Index) count_fork_atoms(const Index ct[]); 
KUAISIM_API(Index) count_nonbond_atoms(const Index ct[]); 

#ifdef __cplusplus
}
#endif


#endif


